$('#gongchengInfo').load(function () {
    $('.GC-WS-btn').click(function () {
        RssApi.Table.Append('anli').setLoading().keyvalue($('#wanshan-gc').serializeArray()).keymyid().getJson(function (data) {
            if(data.id) {
                alert('保存成功');
                window.location.href='index.html';
            } else {
                alert('保存失败');
            }
        })
    })
});
$('#gongchengProduct').load(function () {
    $('.GC-WS-btn').click(function () {
        RssApi.Table.Append('anli').setLoading().keyvalue($('#gcProduct-write').serializeArray()).keymyid().getJson(function (data) {
            if(data.id) {
                alert('保存成功');
                window.location.href='index.html';
            } else {
                alert('保存失败');
            }
        })
    })
})



function togongchengInfo() {
    window.location.hash = '#gongchengInfo';
}
function togongchengProduct() {
    window.location.hash = '#gongchengProduct';
}
function togongchengYZGY() {
    window.location.hash = '#gongchengYZGY';
}
function tocongchengDetail() {
    window.location.hash = '#gongchengDetailPage';
}